package com.itheima.health.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.pojo.OrderSetting;

import java.util.List;
import java.util.Map;

@SuppressWarnings("ALL")
/**
 * @Description :
 * @author     :LD
 */
public interface OrderSettingService extends IService<OrderSetting> {
    void importOrderSettings(List<String[]> orderSettings);

    Map findSettingData(int year, int month);

    Boolean updateNumberByOrderdate(int number, String orderdate);

    int isOrderOk(String orderDate);

    void updateReservationByOrderDate(String orderDate);

    void deleteExpiredOrders();
}
